/*
 * main.cpp
 *
 *  Created on: 31-05-2011
 *      Author: chfast
 */

#include "Board.h"
#include "Generator.h"
#include <ctime>

int main()	{
	// 22: 1307307320
	//sudoku::Board<9>::initRels();

	std::clock_t c = std::clock();
	unsigned int seed = static_cast<unsigned int>(std::time(0)) % 10000;
	sudoku::Board<9> b = sudoku::Generator<9>::generate(seed);
	c = std::clock() - c;

	double s = (double)c / CLOCKS_PER_SEC;

	std::cout << b;
	std::cout << "Count: " << b.count() << std::endl;
	std::cout << "Time: " << s << std::endl;
	std::cout << "Seed: " << seed << std::endl;
	return 0;
}
